home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr23
/
crscapv1.zip
/
CRSCAP.WAS
next >
Wrap
Text File
|
1995-01-15
|
6KB
|
115 lines
; CRSLOGIN.WAS v1.00 CRS Login script for Procomm Plus for Windows v2.00
;****************************************************************************
;* *
;* CRSLOGIN.WAS *
;* Copyright (C) Mike Pizzey *
;* All rights reserved *
;* *
;* This script logs in a user to CRS and gives the user the option of *
;* capturing file lists to the default capture directory. It is for use *
;* with IBM or compatibles since it takes you to the IBM Conference by *
;* default.
;* *
;* This ASPECT SCRIPT is intended only as a sample of ASPECT programming. *
;* Mike Pizzey makes no warranty of any kind, express or implied, including *
;* without limitation, any warranties of merchantability and/or fitness *
;* for a particular purpose. Use of this program is at your own risk. *
;****************************************************************************
;****************************************************************************
;* <<<<IMPORTANT - THIS SCRIPT MUST BE MODIFIED BEFORE USE>>>> *
;* Please modify as indicated in the first comment which appears in this *
;* file before use to avoid frustration. The second modification suggested *
;* in the second comment section of this file is optional. *
;****************************************************************************
;****************************************************************************
;* *
;* INSTRUCTIONS FOR USE OF THIS SCRIPT *
;* *
;* 1. Copy this file to your PROWIN - ASPECT script directory. *
;* 2. Use the ASPECT editor which is part of PROCOMM to edit *
;* the SCRIPT as detailed in the first comment which appears *
;* later in this file. *
;* 3. Open your directory and select this SCRIPT - "CRSCAP.WAS" *
;* as the script that is associated with your CRS Entry. *
;* 4. Then press the setup button and select the option which *
;* says "Start script when connection is made". *
;* 5. The next time you call your login will be automated except *
;* for your password for obvious reasons. *
;* *
;****************************************************************************
proc main
integer Choice
Choice == 0
waitfor "Enter Language # to use (Enter)=no change? "
transmit "^M"
waitfor "Do you want graphics (Enter)=no? "
transmit "^M"
waitfor "What is your first name? "
;****************************************************************************
;* FIRST COMMENT MODIFICATION *
;* The line below this comment box must be edited by replacing the *
;* words "Your Name" with you guessed it your name. This is the name *
;* that you use to log on to CRS. DO NOT ERASE THE ^M OR THE QUOTES. *
;* When done the line should appear as in the example shown *
;* as follows: *
;* *
;* transmit "John Smith^M" *
;* *
;* The script will work once this modification has been made. *
;* *
;* The second modification documented in the comment below *
;* is optional. *
;* *
;****************************************************************************
transmit "Your Name^M"
waitfor "Scan Message Base Since 'Last Read' (Enter)=yes? "
transmit "n^M"
waitfor " Main Board Command? "
transmit "J 2^M"
waitfor "Scan Message Base Since 'Last Read' (Enter)=yes? "
transmit "n^M"
waitfor " IBM (2) Conference Command? "
sdlgmsgbox "" "CAPTURE FILE LISTS??" QUESTION YESNO Choice 2
if Choice == 6
;****************************************************************************
;* SECOND COMMENT MODIFICATION - optional *
;* The line below must be edited by replacing the numbers "398 399" with *
;* the numbers of the directories you wish to capture. *
;****************************************************************************
transmit "F N 398 399 NS^M"
waitfor "Date as (mmddyy) to search from (Enter)=?"
capture on
waitfor "(H)elp, (1-399), File List Command? "
transmit "^M"
else
endif
call Lgoff
endproc
proc Lgoff
integer Choice
Choice == 0
waitfor " IBM (2) Conference Command? "
sdlgmsgbox "" "LOG OFF??" QUESTION YESNO Choice 2
if Choice == 6
capture off
transmit "G^M"
else
capture off
endif
endproc
;* END OF SCRIPT